System, method and computer-readable medium for encoding a signal into macroblocks

ABSTRACT

A quantizer and dequantizer for use in a video coding system that applies non linear, piece-wise linear scaling functions to video information signals based on a value of a variable quantization parameter. The quantizer and dequantizer apply different non linear, piece-wise linear scaling functions to a DC luminance signal, a DC chrominance signal and an AC chrominance signal. A code for reporting updates of the value of the quantization parameter is interpreted to require larger changes when the quantization parameter initially is large and smaller changes when the quantization parameter initially is small.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.13/307,388, filed Nov. 30, 2011, which is currently allowed and is acontinuation of U.S. patent application Ser. No. 12/776,106, filed May7, 2010, now U.S. Pat. No. 8,279,940, which is a continuation of U.S.patent application Ser. No. 11/170,622, filed Jun. 29, 2005, now U.S.Pat. No. 7,738,555, which is a continuation of U.S. patent applicationSer. No. 10/664,985, filed Sep. 18, 2003, now U.S. Pat. No. 7,269,219,which is a continuation of U.S. patent application Ser. No. 09/974,788,filed Oct. 12, 2001, now U.S. Pat. No. 6,654,418, which is acontinuation of U.S. patent application Ser. No. 08/899,096, filed Jul.24, 1997, now U.S. Pat. No. 6,347,116, which claims priority to U.S.Provisional Application No. 60/038,016, filed Feb. 14, 1997; and all ofwhich are herein incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

The present invention related to a quantizer for use in image coding. Itis known to scale discrete cosine transformation coefficients in videocoding applications to conserve bandwidth. Known systems either scale bya small constant, such as divide by 8, or scale by a linear scalingfactor that is twice a quantization parameter (2×Q_(p)). Scaling by thesmall constant does not achieve significant bandwidth savings. Scalingby the 2*Q_(p) linear scaling function achieves significant bit savings,but results in poor image quality at lower and mid-level Q_(p) valuesparticularly in the chrominance video signals. Accordingly, there is aneed in the art for a quantizer characterized by a scaling function thatachieves good signal quality, and achieves bit rate savings for allvalues of Q_(p) particularly for chrominance.

An encoder and decoder must use the same quantization parameter toencode and decode video information intelligibly. Known systems reportchanges to the quantization parameter with codes that cause changes inQ_(p) with a uniform step size, regardless of the value of Q_(p).

Experience teaches that, at low values of Q_(p), changes in Q_(p) arerelatively small. However, for large values of changes in Q_(p) valuesare relatively large. Systems that allocate additional bits to reportthe larger Q_(p) changes waste bandwidth at the lower Q_(p) values wherethe large changes do not occur. However, systems that limit the numberof bits available to coding Q_(p) changes may become saturated if largerchanges must be coded. Accordingly, there is a need in the art for aquantizer that reports both large and small changes in Q_(p) with aminimum number of bits.

SUMMARY OF THE INVENTION

The disadvantages of the art are alleviated to a great extent by aquantizer that applies a non-linear scaling function based on thequantization parameter. A different scaling function applies forluminance data than chrominance data. Both scaling functions at lowQ_(p) values approximate constant scaling functions. At large Q_(p)values, the luminance scaling function approximates a 2*Q_(p) scalingfunction and the chrominance scaling function approximates a 1*Q_(p)scaling function. The quantizer may include a non-linear scalingfunction for AC coefficients.

The present invention may include a way to update values of Q_(p).Changes in Q_(p) are reported in a fixed length code, but each codemeans different things based on the previous values of Q_(p). If theprevious Q_(p) value is large, the code represents a larger change thanif the previous value of Q_(p) were small.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1(a) is a block diagram of a first embodiment of an encoder 100 ofthe present invention; FIG. 1(b) is a block diagram of a firstembodiment of a decoder 200 of the present invention.

FIG. 2 is a block diagram of a portion of the quantizer of FIG. 1.

FIG. 3 is a block diagram of a portion of the scaling circuit of FIG. 1.

DETAILED DESCRIPTION

FIG. 1 shows an encoder 100 constructed in accordance with a firstembodiment of the present invention. An analog image signal is presentedto the encoder 100. The image signal is sampled and converted to adigital signal by an analog to digital (“A/D”) converter 110 usingtechniques known in the art. The A/D converter 110 generates a digitalimage signal for a plurality of pixels of the image. Alternatively, theimage signal may be presented to the encoder 100 as a digital imagesignal; in this case, the A/D converter 110 is omitted.

The digital image signal is input to a processing circuit 120. Theprocessing circuit 120 may perform a host of functions. Typically, theprocessing circuit 120 filters the image data and breaks the image datainto a luminance signal component and two chrominance signal components.Additionally, the processing circuit 120 groups image data into blocksof data. Where the digital input signal represents information for aplurality of pixels in a scanning direction, the digital output of theprocessing circuit 120 represents a block of pixels, for example an 8pixel by 8 pixel array of image data. The processing circuit 120 outputsimage data on a macro block basis. A macro block typically consists ofup to four blocks of luminance data and up to two blocks of chrominancedata. The processing circuit 120 may also perform additional functions,such as filtering, to suit individual design criteria.

The output of the processing circuit 120 is input to a transform circuit130. The transform circuit 130 performs a transformation of the imagedata, such as discrete cosine transform (“DCT”) coding, from the pixeldomain to a domain of coefficients. A block of 64 pixels is transformedto a block of 64 coefficients. Coefficients output by DCT coding includea single DC coefficient and 63 AC coefficients, few of which arenon-zero. The transform circuit 130 outputs blocks of coefficientsorganized into macro blocks.

A quantizer 140 scales the DC and AC coefficients generated by theprediction circuit 150 according to a non-linear scaling functiongoverned by a variable quantization parameter (q). The quantizationparameter is a value determined by the bit rate of the channel, theresolution of the image being coded, the type of image coding (intra orinter) and other factors that affect a number of bits that may beallocated to coding of the macro block. Q_(p) is updated on a macroblock by macro block basis; changes in Q_(p) are reported in an outputbitstream. In MPEG coding, Q_(p) takes on values between 1 and 31. Thequantizer 140 reduces bandwidth of the image signal by reducing a numberof quantization levels available to encoding the signals. Many smallcoefficients input to the quantizer 140 are divided down and truncatedto zero. The scaled signals are output from the quantizer 140.

The output of the quantizer 140 is input to a prediction circuit 150.The prediction circuit 150 performs gradient prediction analysis topredict the DC coefficient of the block. The prediction circuit 150 maypass the AC coefficients generated by the transform circuit 130 or,alternatively, may predict AC coefficients of the block. In a preferredmode of operation, the prediction circuit 150 selects between modes ofpredicting or passing AC coefficients; in this case, the predictioncircuit 150 generates an AC prediction flag to identify a mode ofoperation. The prediction circuit 150 outputs DC coefficient signals andAC coefficient signals (representing either AC coefficients or ACresiduals) on a macro block basis and, on a macro block basisoptionally, an AC prediction flag.

A variable length coder 160 encodes the output of the quantizer 140. Thevariable length coder 160 typically is a Huffman encoder that performsrun length coding on the scaled signals. A bitstream output from thevariable length coder 160 may be transmitted, stored, or put to otheruses as are known in the art.

A decoder 200 performs operations that undo the encoding operationdescribed above. A variable length decoder 260 analyzes the bitstreamusing a complementary process to recover a scaled signal. If a Huffmanencoder were used by the encoder 160, a Huffman decoder 260 is used.

A reconstruction circuit 250 performs the identical gradient analysisperformed in the prediction circuit 150. The DC residual signal isidentified and added to a predicted coefficient to obtain a DCcoefficient. Optionally, the reconstruction circuit 250 may identify theAC prediction flag and, based on the status of that flag, interprets theAC information as either AC coefficient information or AC residualinformation. In the event that AC residual information is present, thereconstruction circuit 250 adds the residual signals to correspondingpredicted signals to obtain AC coefficients. The reconstruction circuit250 outputs coefficient signals.

A dequantization circuit 240 multiplies the recovered signals by thesame scaler values used at the quantizer 140. Of course, thosecoefficients divided down to zero are not recovered.

An inverse transformation circuit 230 performs the inversetransformation applied by the transform circuit 130 of encoder 100. IfDCT transformation were performed, an inverse DCT transformation isapplied. So, too, with sub-band coding. The inverse transformationcircuit 230 transforms the coefficient information back to the pixeldomain.

A processing circuit 220 combines luminance and chrominance signals andmay perform such optional features as are desired in particularapplication. The processing circuit 220 outputs digital signals ofpixels ready to be displayed. At this point the signals are fit fordisplay on a digital monitor. If necessary to fit a particularapplication, the signals may be converted by a digital to analogconverter 210 for display on an analog display.

The present invention achieves bit rate savings by applying a non-linearscaler function at the quantizer 140 to obtain bit rate savings at highQ_(p) levels but ensure high video quality at low Q_(p) levels. Thequantizer 140 applies different scaler functions depending upon the typeof data being quantized (luminance or chrominance), the type ofcoefficient being quantized (DC or AC) and the type of coding (inter orintra) being performed.

Non-Linear Quantization of Dc Coefficients for Luminance And Chrominance

For DC coefficient information, the scaler functions vary with Q_(p).Different piece-wise linear scaler functions are applied to DC luminanceand DC chrominance signals. To minimize objectionable artifacts withinthe chrominance signal, the DC chrominance scaler is smaller than the DCluminance scaler for all Q_(p) values.

The DC luminance scaler function for low Q_(p) values is a constant. Forlarge Q_(p) levels, the DC luminance scaler function approximates a2*Q_(p) function. The inventors obtained through experimentation the DCscaler function shown in Table 1 below, used in an embodiment of theinvention.

The DC chrominance scaler function is also at a constant at low valuesQ_(p). At high Q_(p) values, the DC chrominance scaler functionapproximates a linear scaler function in Q_(p). The inventors obtainedthrough experimentation the DC scaler function for chrominance signalsshown in Table 1 below, used in a preferred embodiment.

TABLE 1 DC Scaler for Quantizer (Q_(p)) Range Component 1 through 4 5through 8 9 through 24 25 through 31 Luminance 8 2 * Q_(p) Q_(p) + 8 2 *Q_(p) − 16 Chrominance 8 (Q_(p) + 13)/2 (Q_(p) + 13)/2 Q_(p) − 6

Rather than compute the DC scaler for each value of Q_(p), furtherefficiencies may be obtained by storing the DC scaler functions forluminance and chrominance for all values of Q_(p), in a memory table atthe quantizer 140. In this event, the quantizer 140 includes a smallmemory of DC scales for luminance and chrominance that may be indexed byQ_(p) as shown in Table 2 below.

TABLE 2 Q_(p) DC Scaler for Luminance DC Scaler for Chrominance 1 8 8 28 8 3 8 8 4 8 8 5 10 9 6 12 9 7 14 10 8 16 10 9 17 11 10 18 11 11 19 1212 20 12 13 21 13 14 22 13 15 23 14 16 24 14 17 25 15 18 26 15 19 27 1620 28 16 21 29 17 22 30 17 23 31 18 24 32 18 25 34 19 26 36 20 27 38 2128 40 22 29 42 23 30 44 24 31 46 25

In operation, the transform circuit 130 outputs macro blocks of data tothe quantizer 140. Each macro block contains as many as four blocks ofluminance data and two blocks of chrominance data. A single Q_(p) valueis used for the macro block. Q_(p) is updated on a macro block by macroblock basis.

Based on the value of Q_(p), the quantizer 140 recalls a DC scalingfactor for luminance and a DC scaling factor for chrominance determinedby the scaling functions at the value of Q_(p). For each luminanceblock, the quantizer 140 generates a DC lum level signal according to:DC lum level=DC lum coefficient/DC Scaler for Luminance.

For each chrominance block, the quantizer 140 generates a DC chrom levelsignal according to:Chrom DC level=Chrom DC coefficient/DC Scaler for Chrominance.

The quantizer 140 outputs each DC lum level signal and each DC chromlevel signal.

The non-linear DC scaling functions of the quantizer 140 may beimplemented in hardware as shown in FIG. 2. The Q_(p) signal is input toa memory 300 that stores the scaler factors defined by the DC luminanceand DC chrominance scaler functions. The scaler table 300 may besubstituted by a processor (not shown) that computes the scaler factorsaccording to the Q_(p), value. DC luminance and DC chrominance signalsfrom the transform circuit 130 are isolated by a demultiplexer 310 androuted to respective luminance and chrominance division circuits 320 and330. The DC lum level and DC chrom level signals are generated by thesedivision circuits.

At the decoder 200, the dequantization circuit 240 performs an inversequantization operation with the same piece-wise linear scalingfunctions. Based on the Q_(p) value of the immediately preceding macroblock and any Q_(p) update reported in the incoming bitstream, thedequantization circuit 240 recalls appropriate scaling factors for DCluminance and DC chrominance signals. For each luminance block, thedequantization circuit 240 generates a luminance DC coefficientaccording to:Lum DC coefficient=DC Lum Level*DC Scaler for Luminance.

For each chrominance block, the scaling circuit 240 generates a DCcoefficient according to:Chrom DC coefficient=Chrom DC Level*DC Scaler for Chrominance.

The dequantization circuit 240 outputs the reconstructed luminance andchrominance coefficients.

The non-linear DC scaling functions of the dequantization circuit 240may be implemented in hardware as shown in FIG. 3. The Q, signal isinput to a memory 400 that stores the scaler factors defined by the DCluminance and DC chrominance scaler functions. The scaler table 400 maybe substituted by a processor (not shown) that computes the scalerfactors according to the Q_(p) signal. DC lum level and DC chrom levelsignals from the variable length encoder 260 are isolated by ademultiplexer 410 and routed to respective luminance and chrominancemultiplication circuits 420 and 430. DC luminance coefficients and DCchrominance coefficients are generated by these multiplication circuits.

The non-linear DC scaling factors described above are appropriate toboth intra and inter coding operations. However, experience teaches thatDC coefficients obtained from inter coding often are near zero. Whenquantized even by a constant scaling factor, the DC coefficientsobtained from inter coding often are truncated to zero. Accordingly, toreduce complexity in a preferred embodiment, the non-linear scalingfunction may be disabled during inter coding operations. The DCcoefficients obtained from inter coding may be quantized in a mannersimilar to the quantization of AC coefficients, discussed below.

The non-linear DC scaling functions maintain high coding quality at lowQ_(p) values and achieve significant bit rate savings at high Q_(p)values. The quantizer 140 and dequantization circuit 240 of the presentinvention may find use in applications where image quality is a moresignificant consideration than bit rate savings. Accordingly, in apreferred embodiment, the quantizer 140 and scaler circuit 240 may havetwo modes of operation: A first mode applying non-linear scalingfunctions based on values of Q_(p) as described above, and a second modeapplying a constant scaling factor (such as divide by 8) or even one ofa plurality of constant scaling factors (such as divide by 8, 4, 2 or1). In this embodiment, the quantizer 140 generates a scaler flag signalidentifying which mode of operation is being used. The dequantizationcircuit 240, upon receipt of the scaler flag signal, invokes anappropriate mode of operation to generate coefficients. The scaler flagsignal may be a one bit signal when discriminating among the two modes,but may be larger when discriminating among the two modes andadditionally identifying which of constant scaling factors is invoked.

Non-Linear Quantization of Chrominance Coefficients for Inter CodedBlocks

In inter coding, both DC and AC coefficients of chrominance blocks maybe close to zero. Coding of such coefficients with non-linear scalingfunctions may improve coding quality of the chrominance signal.Additionally, the non-linear scaling functions of this section may beapplied to AC coefficients of chrominance blocks in intra coding toachieve coding efficiencies.

The non-linear scaling function for AC chrominance coefficients ispiece-wise linear and based on Q_(p) values. At low values for Q_(p) thenon-linear scaling function for AC is a constant value, almost half ofthe level of the scaling function for DC chrominance signals. At highlevels for Q_(p), the AC scaling function approximates a Q_(p)/2 line.At intermediate levels, the AC scaling function approximates a Q_(p)/4line. In one preferred embodiment, the AC scaling function forchrominance was derived experimentally as shown in Table 3 below:.

TABLE 3 Quantizer for Chrominance when Q_(p) in Range Component 1through 4 5 through 8 9 through 24 25 through 31 Chrominance 4 (Q_(p) +13)/4 (Q_(p) + 13)/4 (Q_(p) − 6)/2The AC scaling factors for chrominance also may be stored in thequantizer 140 in a memory table indexed by Q_(p).

During coding, the quantizer 140 recalls or computes a scaling factorfor AC coefficients based on the value of Q_(p). For each chrominance ACcoefficient, the quantizer 140 generates a corresponding chrominance AClevel signal according to:Chrom AC level=Chrom AC coefficient/Quantizer for Chrominance.

The quantizer 140 outputs the Chrom AC level signals for the ACcoefficients.

The non-linear scaling functions for AC chrominance coefficients may beimplemented in hardware, also shown in FIG. 2. The scaler table 300stores the AC chrominance scaler values indexed by Q_(p). If scalertable 300 is substituted by a processor, the processor computes the ACchrominance scaler values according to the Q_(p) value. AC chrominancesignals from the transform circuit 140 are isolated by a demultiplexer310 and routed to an AC division circuit 340. The AC chrom level signalsare generated by the division circuit 340.

During decoding, the dequantization circuit 240 recalls the AC scalingfactor for chrominance based on the value of Q_(p) used for theimmediately previous macro block and any Q_(p) update provided in theincoming bitstream. For each AC chrominance level signal, the scalingcircuit 240 reconstructs a corresponding AC chrominance coefficientaccording to:Chrom AC coefficient=Chrom AC Level*Quantizer for Chrominance.The scaling circuit 240 outputs the reconstructed chrominance ACcoefficients.

The scaling circuit's non-linear AC scaling functions may be implementedin hardware, also shown in FIG. 3. The scaler table 400 stores the ACchrominance scaler values indexed by Q_(p). If scaler table 400 issubstituted by a processor, the processor computes the AC scaler valueaccording to the Q_(p) signal. AC chrom level signals from the variablelength encoder 160 are isolated by a demultiplexer 410 and routed to anAC multiplication circuit 440. The AC coefficients are generated by themultiplication circuit 440.

Ouantizer Update

The encoder 100 and decoder 200 each must use the same Q_(p) value forvideo signals to be encoded and decoded intelligibly. The encoder 100may change a value of Q_(p) frequently as every macro block. When theencoder 100 changes Q_(p), it reports the change in a Q_(p) updatesignal in the output bitstream.

The present invention provides for an improved method of reportingupdated Q_(p) values to the decoder 200. For each Q_(p) update, themagnitude of the Q_(p) adjustment depends not only on the update signalbut also the previous value of Q_(p). A given Q_(p) update signal at alarge value of Q_(p) results in a relatively large change in Q_(p). Thesame Q_(p) update signal at a small value of % results in a smallerchange in Q_(p). The following Table 4 demonstrates Q_(p) adjustmentsmade based on the Q_(p) update signal and the value of Q_(p) in onepreferred embodiment of the invention.

TABLE 4 DQuant Qp Change Based on Qp Value Code 1 through 6 7 through 1314 through 21 22 through 31 00 −1 −1 −2 −3 01 −2 −3 −4 −5 10 1 1 2 3 112 3 4 5

Providing variable step sizes for % updates based on the value of Q_(p)provides resistance to saturation for large changes of Q_(p) at theencoder 100. The variable step sizes provide increased flexibilitywithout requiring additional overhead because the previous value ofQ_(p) is known at the decoder 200 and need not be reported in thebitstream.

What is claimed:
 1. A decoder, comprising: a processor; and acomputer-readable storage medium storing instructions which, whenexecuted by the processor, cause the processor to perform operations,the operations comprising: receiving an update signal for quantization;determining a first quantization parameter adjustment based on theupdate signal as follows: (i) for a first code of the update signal, thefirst quantization parameter adjustment equals −1; (ii) for a secondcode of the update signal, the first quantization parameter adjustmentequals −2; (iii) for a third code of the update signal, the firstquantization parameter adjustment equals 1; and (iv) for a fourth codeof the update signal, the first quantization parameter adjustment equals2; and updating a value of a previous quantization parameter using thefirst quantization parameter adjustment.
 2. The decoder of claim 1,wherein the first code, the second code, the third code and the fourthcode are in a binary format.
 3. The decoder of claim 2, wherein thefirst code is a binary value of 00, wherein the second code is a binaryvalue of 01, wherein the third code is a binary value of 10, and whereinthe fourth code is a binary value of
 11. 4. The decoder of claim 1,wherein the respective first quantization parameter adjustment of eachrespective code is applicable whenever the previous quantizationparameter falls within a first range of values.
 5. The decoder of claim4, wherein the first range of values comprises values 1 through 6,inclusive.
 6. The decoder of claim 4, wherein a second quantizationparameter adjustment is determined in lieu of the first quantizationparameter adjustment whenever the previous quantization parameter fallswithin a second range of values as follows: (v) for the first code ofthe update signal, the second quantization parameter adjustment equals−1; (vi) for the second code of the update signal, the secondquantization parameter adjustment equals −3; (vii) for the third code ofthe update signal, the second quantization parameter adjustment equals1; and (viii) for the fourth code of the update signal, the secondquantization parameter adjustment equals
 3. 7. The decoder of claim 6,wherein the second range of values comprises values 7 through 13,inclusive.
 8. The decoder of claim 6, wherein a third quantizationparameter adjustment is determined in lieu of the first quantizationparameter adjustment and the second quantization parameter adjustmentwhenever the previous quantization parameter falls within a third rangeof values as follows: (ix) for the first code of the update signal, thethird quantization parameter adjustment equals −2; (x) for the secondcode of the update signal, the third quantization parameter adjustmentequals −4; (xi) for the third code of the update signal, the thirdquantization parameter adjustment equals 2; and (xii) for the fourthcode of the update signal, the third quantization parameter adjustmentequals
 4. 9. The decoder of claim 8, wherein the third range of valuescomprises values 14 through 21, inclusive.
 10. The decoder of claim 8,wherein a fourth quantization parameter adjustment is determined in lieuof the first quantization parameter adjustment, the second quantizationparameter adjustment, and the third quantization parameter adjustmentwhenever the previous quantization parameter falls within a fourth rangeof values as follows: (xiii) for the first code of the update signal,the fourth quantization parameter adjustment equals −3; (xiv) for thesecond code of the update signal, the fourth quantization parameteradjustment equals −5; (xv) for the third code of the update signal, thefourth quantization parameter adjustment equals 3; and (xvi) for thefourth code of the update signal, the fourth quantization parameteradjustment equals
 5. 11. The decoder of claim 10, wherein the fourthrange of values comprises values 22 through 31, inclusive.
 12. A method,comprising: receiving, by a processor, an update signal forquantization; determining, by the processor, a first quantizationparameter adjustment based on the update signal as follows: (i) for afirst code of the update signal, the first quantization parameteradjustment equals −1; (ii) for a second code of the update signal, thefirst quantization parameter adjustment equals −2; (iii) for a thirdcode of the update signal, the first quantization parameter adjustmentequals 1; and (iv) for a fourth code of the update signal, the firstquantization parameter adjustment equals 2; and updating, by theprocessor, a value of a previous quantization parameter using the firstquantization parameter adjustment.
 13. The method of claim 12, whereinthe first code, the second code, the third code and the fourth code arein a binary format.
 14. The method of claim 13, wherein the first codeis a binary value of 00, wherein the second code is a binary value of01, wherein the third code is a binary value of 10, and wherein thefourth code is a binary value of
 11. 15. The method of claim 12, whereinthe respective first quantization parameter adjustment of eachrespective code is applicable whenever the previous quantizationparameter falls within a first range of values.
 16. The method of claim15, wherein the first range of values comprises values 1 through 6,inclusive.
 17. The method of claim 15, wherein a second quantizationparameter adjustment is determined in lieu of the first quantizationparameter adjustment whenever the previous quantization parameter fallswithin a second range of values as follows: (v) for the first code ofthe update signal, the second quantization parameter adjustment equals−1; (vi) for the second code of the update signal, the secondquantization parameter adjustment equals −3; (vii) for the third code ofthe update signal, the second quantization parameter adjustment equals1; and (viii) for the fourth code of the update signal, the secondquantization parameter adjustment equals
 3. 18. The method of claim 17,wherein the second range of values comprises values 7 through 13,inclusive.
 19. The method of claim 17, wherein a third quantizationparameter adjustment is determined in lieu of the first quantizationparameter adjustment and the second quantization parameter adjustmentwhenever the previous quantization parameter falls within a third rangeof values as follows: (ix) for the first code of the update signal, thethird quantization parameter adjustment equals −2; (x) for the secondcode of the update signal, the third quantization parameter adjustmentequals −4; (xi) for the third code of the update signal, the thirdquantization parameter adjustment equals 2; and (xii) for the fourthcode of the update signal, the third quantization parameter adjustmentequals 4, wherein the third range of values comprises values 14 through21, inclusive, wherein a fourth quantization parameter adjustment isdetermined in lieu of the first quantization parameter adjustment, thesecond quantization parameter adjustment, and the third quantizationparameter adjustment whenever the previous quantization parameter fallswithin a fourth range of values as follows: (xiii) for the first code ofthe update signal, the fourth quantization parameter adjustment equals−3; (xiv) for the second code of the update signal, the fourthquantization parameter adjustment equals −5; (xv) for the third code ofthe update signal, the fourth quantization parameter adjustment equals3; and (xvi) for the fourth code of the update signal, the fourthquantization parameter adjustment equals 5, wherein the fourth range ofvalues comprises values 22 through 31, inclusive.
 20. A tangiblecomputer-readable medium storing a plurality of instructions which, whenexecuted by a processor, cause the processor to perform operations, theoperations comprising: receiving an update signal for quantization;determining a first quantization parameter adjustment based on theupdate signal as follows: (i) for a first code of the update signal, thefirst quantization parameter adjustment equals −1; (ii) for a secondcode of the update signal, the first quantization parameter adjustmentequals −2; (iii) for a third code of the update signal, the firstquantization parameter adjustment equals 1; and (iv) for a fourth codeof the update signal, the first quantization parameter adjustment equals2; and updating a value of a previous quantization parameter using thefirst quantization parameter adjustment.